﻿using System;
using System.Globalization;

namespace Hxsoft
{
	/// <summary>
	/// 时间扩展类。
	/// </summary>
	public static partial class DateTimeExtensions
	{
		public static bool TryParse(string s, out DateTime result)
		{
			return DateTime.TryParse(s, out result);
		}

		public static bool TryParse(string s, IFormatProvider provider, DateTimeStyles styles, out DateTime result)
		{
			return DateTime.TryParse(s, provider, styles, out result);
		}
	}
}